package com.sgb.kjwl.view.widget.transport;

import android.content.Context;
import android.graphics.Color;

import com.amap.api.maps.AMap;
import com.amap.api.services.core.LatLonPoint;
import com.amap.api.services.route.DrivePath;

import java.util.List;

/**
 * Describe:
 * Author:  yangLei
 * Date:    2021/6/7
 */
public class RealRouteOverlay extends DrivingRouteOverlay{
    /**
     * 根据给定的参数，构造一个导航路线图层类对象。
     *
     * @param context          当前的activity对象。
     * @param amap             地图对象。
     * @param path             导航路线规划方案。
     * @param start
     * @param end
     * @param throughPointList
     */
    public RealRouteOverlay(Context context, AMap amap, DrivePath path, LatLonPoint start, LatLonPoint end, List<LatLonPoint> throughPointList) {
        super(context, amap, path, start, end, throughPointList);
    }

    @Override
    protected int getDriveColor() {
        return Color.parseColor("#06C764");
    }
}
